/* 基础重置 */
body, h1, h2, h3, p {
  margin: 0;
  padding: 0;
}

body {
  font-family: Arial, sans-serif;
}

.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 20px;
}

.title {
  text-align: center;
}

/* 表格样式 */
.students-table {
  width: 100%;
  border-collapse: collapse;
}

.students-table th,
.students-table td {
  border: 1px solid #ddd;
  padding: 8px;
  text-align: left;
}

.students-table th {
  background-color: #f2f2f2;
  font-weight: bold;
}

.students-table tr:nth-child(even) {
  background-color: #f2f2f2;
}

/* 操作按钮样式 */
.delete-button,
.edit-link {
  display: inline-block;
  padding: 5px 10px;
  margin-left: 5px;
  text-decoration: none;
  cursor: pointer;
}

.delete-button {
  background-color: #dc3545; /* 危险的红色 */
  color: white;
  border: none;
  border-radius: 3px;
}

.delete-button:hover {
  background-color: #c82333; /* 更深的红色，鼠标悬停时 */
}

.edit-link {
  color: #007bff; /* 主题色蓝色 */
  text-decoration: underline;
}

.edit-link:hover {
  color: #0056b3; /* 更深的蓝色，鼠标悬停时 */
}